<!-- templates/blog/post_detail.html -->
<!DOCTYPE html>
<html>
<head>
    <title>{{ post.title }}</title>
</head>
<body>
    <h1>{{ post.title }}</h1>
    <p>作者：{{ post.author }}</p>
    <p>发布日期：{{ post.publish_date }}</p>
    <div>
        {{ post.content }}
    </div>
    <a href="{% url 'post_list' %}">返回博客列表</a>
    <a href="{% url 'post_update' pk=post.pk %}">更新文章</a>
    <a href="{% url 'post_delete' pk=post.pk %}">删除blog</a>
</body>
</html>